﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Down_Document.aspx.cs" Inherits="DocumentManage_Down_Document" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>文档批量下载</title>
       <base target ="_self" />
     <link rel="stylesheet" href="../css/css.CSS"  type="text/css" />
     <script   language="JavaScript" type ="text/javascript" >     
     function FolderClk()
     {
         var ifrmDel = document.getElementById("AddFolderPath");
				        if(ifrmDel!=null)
				        {
				          ifrmDel.click();
				        }
     }
    </script>
</head>
<body style =" background-image :url('../images/hit_bg.gif');"> 
    <% 
		Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
		Response.Expires = 0;
		Response.CacheControl = "no-cache";
	%>
    <form id="form1" runat="server">
  <table align="center" style ="width :98%;" border="0" cellpadding="0" cellspacing="0">
   <tr>
    <td style ="width :98%;">
      <fieldset align="left">
       <legend align="left"><strong>下载文档：</strong></legend>
        <table style ="width :100%;" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td style ="height :10;">&nbsp;</td>
          </tr>
          <tr>
            <td valign ="middle" style ="width :80;" >&nbsp;&nbsp;&nbsp;&nbsp;文档：</td>
            <td><asp:ListBox ID="FileList" runat="server" Height="200px" Width="390px" ></asp:ListBox></td>
            <td valign ="middle" style ="width :50;" >
                <asp:Button ID="DelFile" runat="server" CssClass ="button03" Text="删除(D)" AccessKey ="d" OnClick="DelFile_Click" /><br /><br />
                <asp:Button ID="ClearFile" runat="server" CssClass ="button03" Text="清空(C)" AccessKey ="c" OnClick="ClearFile_Click" /></td>
          </tr>
          <tr>
            <td >&nbsp;&nbsp;下载到：</td>
            <td colspan ="2"><input id="DownToPath" size ="54" runat ="server" title="可以点击右边的‘浏览...’进行选择文件夹，也可手工填写路径！" /><asp:FileUpload ID="FindFolder" onchange="FolderClk()"  runat="server" Width="0px" />
                 <asp:Button ID="AddFolderPath" runat="server" Width ="0px" Height ="0px" Text="添加文件夹" OnClick="AddFolderPath_Click" /></td>
          </tr>
          <tr>
            <td colspan ="3"><asp:Label id="strStatus"  runat="server" ></asp:Label></td>
          </tr>
          <tr>
            <td colspan ="3" align="center" >
               <asp:Button ID="BtnSave" runat="server" CssClass ="button03" AccessKey ="s"  Text ="下载(S)"  OnClick="BtnSave_Click" />&nbsp;&nbsp;
               <input type ="button" id="backBtn"  value ="返回(B)" accesskey ="b"  class="button03" tabindex ="9" onclick ="window.close();" />
             </td>
          </tr>
        </table> 
       </fieldset>
     </td>
   </tr> 
  </table> &nbsp;&nbsp;
    <input type="hidden" id="HID" runat ="server"   />
    <input type="hidden" id="HPath" runat ="server"  />
       <br /> 
 </form>
   <script language ="javascript" type="text/javascript" >
    <!--
      var sData = dialogArguments;
      
//      form1.HID.value       = sData.Form1.HID.value;
//      form1.HPath.value     = sData.Form1.HPath.value;         
    -->
    </script>
</body>
</html>
